//
//  ToghterBuyOperation.m
//  PlayBall
//
//  Created by Jdd‘s macbook on 13-9-24.
//
//

#import "JddTogetherBuyOperation.h"
#import "JddParameterBuilder.h"
@implementation JddTogetherBuyOperation

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    NSString *bodyString = [JddParameterBuilder toghterBuyParameterWithPageNo:self.PageNo AndPagesize:self.pageSize AndOrderType:self.OrderType AndOrderField:self.OrderField AndLottID:self.lottId];
    NSData *dataNotice = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];
    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(TogetherBuyOperationResult:) withObject:dataNotice waitUntilDone:NO];
}

@end
